package com.example.auth.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.example.db.annotations.ID;
import com.example.db.annotations.Table;
import com.example.db.annotations.TableField;

import java.util.Date;

/**
 * @Classname RoleMenuModel
 * @Description TODO
 * @Date 2022/7/31 9:59
 * @Created by XiongXiong
 * @Author: X.I.O
 */
@Table("sys_role_menu")
public class RoleMenuModel {

    @ID
    private Integer id;

    @TableField("roId")
    private Integer roId;

    private String rolename;

    private String roleno;


    @TableField("menuId")
    private Integer menuId;

    private String title;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField("createdate")
    private Date createdate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoId() {
        return roId;
    }

    public void setRoId(Integer roId) {
        this.roId = roId;
    }

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    public String getRoleno() {
        return roleno;
    }

    public void setRoleno(String roleno) {
        this.roleno = roleno;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
